<?php
include("../inc/Function_user.php");
upower();
$psize = 20;
$page = isset($_GET['page'])?intval($_GET['page']):1;
$list = hxlist($page,$psize);
$num = hxlistnum();
if($list){
    $msg = 1;
}else{
    $msg = 0;
}
$page = page1($num,$psize,$page,$_SERVER['PHP_SELF']);
$tpl->assign("olist",$list);
$tpl->assign("msg",$msg);
$tpl->assign("page",$page);
$tpl->assign("osarr1",$osarr1);
$tpl->assign("osarr2",$osarr2);
$tpl->show("hxlist");
?>